<%--
  01_jspExample.jsp
  User: PING
  Date: 2022/9/7
  Time: 9:50
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<meta charset="UTF-8">
<head>
    <title>jsp example</title>
    <link rel="stylesheet" href="../css/main.css"/>
    <style>
        .show_info {
            font-size:28px;
            text-align: center;
            padding-top:10px;
            height:700px;
        }
    </style>
</head>
<body>
<!--
    Scriptlet
-->
<%
    request.setCharacterEncoding("UTF-8");

%>
    <jsp:useBean id="user" class="com.javaweb.entity.User"/>
    <jsp:setProperty name="user" property="name" param="username"/>
    <div class="container">
        <div class="logo">
        </div>
        <hr>
        <div class="main">
            <div class="show">
                <h2>演示部分</h2>
                <div class="show_info">
                    <h3>WELCOME: </h3><p><%= user.getName()%></p>
                    <a href="02_login.jsp">返回首页</a>
                </div>
            </div>
        </div>

    </div>
    <footer>
        <div class="copyright">
            JAVA WEB &copy; FJNU
        </div>
    </footer>


</body>
</html>
